import Vue from 'vue';
import Router from 'vue-router';
import Message from '@/components/message/message';
import Weui from '@/components/weui/weui';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/message'
    },
    {
      path: '/message',
      name: 'message',
      component: Message
    },
    {
      path: '/weui',
      name: 'weui',
      component: Weui
    }
  ]
});
